package dyyx.dto;

import java.util.List;
import java.util.Map;

import org.apache.kafka.clients.admin.ConfigEntry;
import org.apache.kafka.clients.admin.ConsumerGroupDescription;
import org.apache.kafka.clients.admin.TopicDescription;
import org.apache.kafka.clients.admin.TopicListing;
import org.apache.kafka.common.Node;

public class WebResult{
	
	public boolean error = false;
	public String op;

	public String msg;
	public Object msgObject;

	public List<NodeData> list;
	
	
    // jmx
	public List<String> mbeanNameList;
	public List<Map<String,Object>> mbeanInfoList;
	public Map<String,Map<String,Object>> mbeanInfoMap;

	// dubbo
	public String service;
	public DubboServiceInfo serviceInfo;
	
	// kafka
	
	public String configType;
	public int brokerId=-1;
	public String topic;
	public String groupId;


	public List<ConfigEntry> configList;
	
	public List<KafkaTopicReplicaSummaryInfo> topicReplicaSummaryInfoList;
	
	public TopicDescription topicDescription;
	public ConsumerGroupDescription consumerGroupDescription;
	
	public List<KafkaOffsetInfo>  kafkaOffsetInfoList;
	
	//kafka info
	public List<KafkaBroker> brokers;
	public Node controller;
	public String zookeeperConnect = null;
	public KafkaClusterInfo clusterInfo;
	public Map<String, TopicListing> topics;
	public ConsumerGroupsInfo  consumerGroupsInfo;
	public List<ConsumerGroupDTO> consumerGroupDTOList;


	
	//
	
	//
	
	
}
